package com.codeyang.feign;

import com.codeyang.es.ProdEs;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

/**
 * 描述: TO-删除标志-DO
 *
 * @author CodeYang_Site
 * @version 2021/5/31 0:41
 */
@FeignClient(value = "search-service"/*, fallback = UserCollectSearchFeignHystrix.class*/)
public interface UserCollectSearchFeign {
    /**
     * 远程调用获取prodEs集合
     *
     * @param prodIds
     * @return
     */
    @PostMapping("search/getProdEsByIds")
    List<ProdEs> getProdEsByIds(@RequestBody List<Long> prodIds);


}
